package XZK010404.entity;

import java.util.Date;

/**
 * 航班信息实体
 *
 * @author bing.zhang06@hand-china.com 2021/7/7 21:24
 **/
public class AirInfo {
    private Integer id;
    private String airNo;
    private String destination;
    private Date departureDate;

    public AirInfo() {
    }

    public AirInfo(Integer id, String airNo, String destination, Date departureDate) {
        this.id = id;
        this.airNo = airNo;
        this.destination = destination;
        this.departureDate = departureDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAirNo() {
        return airNo;
    }

    public void setAirNo(String airNo) {
        this.airNo = airNo;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public Date getDepartureDate() {
        return departureDate;
    }

    public void setDepartureDate(Date departureDate) {
        this.departureDate = departureDate;
    }

    @Override
    public String toString() {
        return "AirInfo{" +
                "id=" + id +
                ", airNo='" + airNo + '\'' +
                ", destination='" + destination + '\'' +
                ", departureDate=" + departureDate +
                '}';
    }
}
